package org.zachary.prosocialbehaviorservice.domain.repository;

import org.zachary.prosocialbehaviorservice.application.command.JoinExitActivityCommand;
import org.zachary.prosocialbehaviorservice.domain.aggregate_model.activity.ActivityItem;
import org.zachary.prosocialbehaviorservice.domain.aggregate_model.activity.ActivityToItem;

import java.util.List;
import java.util.Optional;

public interface ActivityToItemRepository  {
    List<ActivityToItem> findByActivityId(Integer activityId);

    void save(ActivityToItem rel);

    void deleteById(Integer itemId);

    Optional<Integer> findActivityIdByItemId(Integer id);

    Optional<ActivityToItem> findByItemId(Integer itemId);

}